var github.com/jackc/pgx/v5/pgtype.quoteArrayReplacer
4 uses
github.com/jackc/pgx/v5/pgtype (current package)
array.go#L366: var quoteArrayReplacer = strings.NewReplacer(`\`, `\\`, `"`, `\"`)
array.go#L369: return `"` + quoteArrayReplacer.Replace(src) + `"`
hstore.go#L150: buf = append(buf, quoteArrayReplacer.Replace(k)...)
hstore.go#L158: buf = append(buf, quoteArrayReplacer.Replace(*v)...)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)